package com.xiaoyu.lanling.event.charming

import `in`.srain.cube.request.JsonData
import `in`.srain.cube.views.list.ListItemTypedBase
import com.xiaoyu.lanling.media.image.ImageLoadParam

class LevelUpMeansItem(jsonData: JsonData) : ListItemTypedBase {
    val iconUrl = jsonData.optString("iconUrl")
    val title = jsonData.optString("title")
    val iconLoadParam = ImageLoadParam.newBuilder()
            .setUrl(iconUrl)
            .setWidthInDP(48)
            .setHeightInDP(48)
            .build()

    override fun getViewType(): Int {
        return 0
    }
}